<?php

namespace app\admin\validate;
use think\Validate;

class Contract extends Validate
{
    protected $rule = [
        'name'               => 'require',
        'content'            => 'require'
    ];

    protected $message = [
        'money.require'          => '协议名称不能为空',
        'content.integer'        => '协议内容不能为空'
    ];
}
